package org.convallaria.infrastruct.rg.exception;

/**
 * 服务发现异常
 * 
 * @author gjh
 * @since 2025-01-27
 */
public class ServiceDiscoveryException extends RegistryException {
    
    public ServiceDiscoveryException(String message) {
        super("SERVICE_DISCOVERY_ERROR", message);
    }
    
    public ServiceDiscoveryException(String message, Throwable cause) {
        super("SERVICE_DISCOVERY_ERROR", message, null, cause);
    }
    
    public ServiceDiscoveryException(String message, String serviceId) {
        super("SERVICE_DISCOVERY_ERROR", message, serviceId);
    }
    
    public ServiceDiscoveryException(String message, String serviceId, Throwable cause) {
        super("SERVICE_DISCOVERY_ERROR", message, serviceId, cause);
    }
}
